#include <iostream>
#include "tools.h"
#include "managerview_console_impl.h"
#include "serviceview_console_impl.h"
#include "managerdao_file_impl.h"
#include "servicedao_file_impl.h"
#include <vector>
using namespace std;

int main()
{
	init_id("./account/id.dat",1000);
	int num;
	while(1)
	{
	cout <<"1.manager"<<endl;
	cout <<"2.service"<<endl;
	cin >> num;
	if(num == 1)
	{
		ManagerViewConsolelmpl M1;
		M1.menu();
	}
	if(num == 2)
	{
		ServiceViewConsoleImpl M3;
		M3.menu();
	}
	}
}
